package com.logic.landseaserver.persistence.read;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.logic.common.util.QueryUtil;
import com.logic.landseaserver.domain.Refund;
import com.logic.landseaserver.models.refunddiary.bean.RefundRecordResp;
import com.logic.landseaserver.ws.dto.PersonInfoDTO;
import com.logic.landseaserver.ws.dto.RefundDTO;

public interface RefundReadMapper {

    Refund selectByPrimaryKey(Integer id);

    List<Refund> selectByObjectIdAndType(Refund refund);

    Integer getMaxRefundCode(String prjCode);

    List<RefundDTO> getRefundList(QueryUtil queryUtil);

    List<PersonInfoDTO> getPersonInfoByPrjAndRole(@Param("prjId") Integer projectId, @Param("code") String code);

    List<RefundDTO> getSuperRefundList(QueryUtil queryUtil);

    List<RefundRecordResp> getRefundRecord(QueryUtil queryUtil);

    String getApplyOffrentOtherRemark(Integer objectId);
    
}